<!--
 * @FilePath     : /study_code/css/unset2.html
 * @Description  : unset 关键词用于 继承性 css属性 color 的值
 * @Date         : 2025-04-28 14:51:08
 * @Author       : Fang YingGui
 * @LastEditors  : fangyinggui 18715384437@163.com
 * @LastEditTime : 2025-04-28 14:52:16
-->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>documentName</title>
    <style>
      .parent {
        color: red;
      }

      .child {
        color: unset;
      }
    </style>
  </head>
  <body>
    <div class="parent">
      父容器
      <div class="child">子容器</div>
    </div>
  </body>
</html>
